home *** CD-ROM | disk | FTP | other *** search
- on hatkeys
- global effectspath
- if the keyCode = 123 then
- sound playFile 2, effectspath & "jmp1.aif"
- if sprite(5).visible = 1 then
- go("w1")
- sprite(5).visible = 0
- sprite(6).visible = 1
- else
- if sprite(8).visible = 1 then
- go("w1")
- sprite(8).visible = 0
- sprite(9).visible = 1
- end if
- end if
- else
- if the keyCode = 124 then
- sound playFile 2, effectspath & "jmp2.aif"
- if sprite(11).visible = 1 then
- go("w1")
- sprite(11).visible = 0
- sprite(10).visible = 1
- else
- if sprite(8).visible = 1 then
- go("w1")
- sprite(8).visible = 0
- sprite(7).visible = 1
- end if
- end if
- end if
- end if
- end
-
- on pozkeys
- global effectspath
- if the keyCode = 123 then
- sound playFile 2, effectspath & "jmp1.aif"
- if sprite(5).visible = 1 then
- go("w3")
- sprite(5).visible = 0
- sprite(6).visible = 1
- else
- if sprite(8).visible = 1 then
- go("w3")
- sprite(8).visible = 0
- sprite(9).visible = 1
- end if
- end if
- else
- if the keyCode = 124 then
- sound playFile 2, effectspath & "jmp2.aif"
- if sprite(11).visible = 1 then
- go("w3")
- sprite(11).visible = 0
- sprite(10).visible = 1
- else
- if sprite(8).visible = 1 then
- go("w3")
- sprite(8).visible = 0
- sprite(7).visible = 1
- end if
- end if
- end if
- end if
- end
-
- on dockeys
- global effectspath
- if the keyCode = 125 then
- sound playFile 2, effectspath & "jmp1.aif"
- if sprite(5).visible = 1 then
- go("y1")
- sprite(5).visible = 0
- sprite(6).visible = 1
- else
- if sprite(8).visible = 1 then
- go("y1")
- sprite(8).visible = 0
- sprite(9).visible = 1
- end if
- end if
- else
- if the keyCode = 126 then
- sound playFile 2, effectspath & "jmp2.aif"
- if sprite(11).visible = 1 then
- go("y1")
- sprite(11).visible = 0
- sprite(10).visible = 1
- else
- if sprite(8).visible = 1 then
- go("y1")
- sprite(8).visible = 0
- sprite(7).visible = 1
- end if
- end if
- end if
- end if
- end
-